﻿using RearLivestock.Common.Domains.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Dtos
{
    /// <summary>
    /// 母猪分娩列表
    /// </summary>
    public class FarrowingsDto
    {
        /// <summary>
        /// 母猪分娩id
        /// </summary>
        public int FarrowingId { get; set; }
        /// <summary>
        /// 基本信息Id(耳号)
        /// </summary>
        public int? BasicInforId { get; set; }
        
        /// <summary>
        /// 窝号
        /// </summary>
        public string? NestNumber { get; set; }
        /// <summary>
        /// 分娩日期
        /// </summary>
        public DateTime?FarrowingDate { get; set; }
        /// <summary>
        /// 妊娠天数
        /// </summary>
        public int GestationNum { get; set; }
        /// <summary>
        /// 分娩难易
        /// </summary>
        public int DifficultieId { get; set; }
        /// <summary>
        /// 肥猪批次
        /// </summary>
        public int BatchId { get; set; }
        /// <summary>
        /// 母性
        /// </summary>
        public int MaternalId { get; set; }
        /// <summary>
        /// 泌乳
        /// </summary>
        public string Lactation { get; set; }
        /// <summary>
        /// 乳房炎
        /// </summary>
        public string Mastitis { get; set; }
        /// <summary>
        /// 活猪数
        /// </summary>
        public int LivePigNum { get; set; }
        /// <summary>
        /// 窝总重(公斤)
        /// </summary>
        public int NestWeight { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }
        /// <summary>
        /// 转入栋舍id
        /// </summary>
        public int BedroomId { get; set; }
        /// <summary>
        /// 转入栏位id
        /// </summary>
        public int FieldId { get; set; }
        /// <summary>
        /// 转出栋舍
        /// </summary>
        public string TurnBuilding { get; set; }
        /// <summary>
        /// 转出栏位
        /// </summary>
        public string TurnColumn { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsFarrowings { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string EarNumber { get; set; } = string.Empty;
        /// <summary>
        /// 电子耳标号
        /// </summary>
        public string Electronicearlabel { get; set; } = string.Empty;
        /// <summary>
        /// 分娩难易
        /// </summary>
        public string DifficultieName { get; set; }
        /// <summary>
        /// 母性
        /// </summary>
        public string MaternalName { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string BatchName { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string BedroomName { get; set; }
        /// <summary>
        /// 栏位名称
        /// </summary>
        public string FieldName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string PersonName { get; set; }
        /// <summary>
        /// 出生状态
        /// </summary>
        public BirthStatusEnums BirthStatusList { get; set; }
    }
}
